import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/index.css'
import './plugins/element.js'
import ElementUI from 'element-ui';
import Api from '@/api'
import md5 from 'js-md5' //引入
// 打印
import Print from 'vue-print-nb'
//vuex
import { store } from "@/store/index.js"
import 'element-ui/lib/theme-chalk/index.css';
//图标
import './assets/font/iconfont.css'
// 判断按钮权限3.0
import { showBtn } from "@/utils/tools.js"
Vue.prototype._SHOWBTN = showBtn
// 图表
import echarts from 'echarts'
// pdf
import htmlToPdf from '@/components/htmlToPdf.js'

import "./assets/echarts/echarts.min.js"
Vue.prototype.$md5 = md5; //定义全局变量
Vue.config.productionTip = false
Vue.prototype.Api = Api
Vue.use(Print);  //注册
Vue.use(htmlToPdf)
Vue.prototype.$echarts = echarts
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')